<ngx-monaco-editor [ngStyle]="{'height': 'calc(100% - 1rem)'}"
    [options]="editorOptions()"
    [(ngModel)]="code"
    (ngModelChange)="onModelChange($event)"
    (resized)="onResized($event)"
    (onInit)="onInit($event)"
></ngx-monaco-editor>
